package com.huawei.appgallery.forum.base.card.bean;

import com.huawei.appgallery.jsonkit.api.JsonBean;
import java.io.Serializable;

public class Section extends JsonBean implements Serializable {
    public static final int FOLLOWED = 1;
    public static final int POST_ENABLE_ALL = 0;
    public static final int POST_ENABLE_MODERATORONLY = 1;
    public static final int UNFOLLOW = 0;
    private static final long serialVersionUID = 7168492034590270349L;
    String bgColor_;
    String description_;
    String detailId_;
    private int followCount_;
    int follow_;
    String iconColor_;
    String icon_;
    int postEnable_ = 0;
    int sectionId_;
    String sectionName_;
    long todayCount_;
    private long topicCount_;

    public int ˋ() {
        return this.postEnable_;
    }

    public void ॱ(int i) {
        this.sectionId_ = i;
    }

    public int ˊ() {
        return this.sectionId_;
    }

    public String ˏ() {
        return this.sectionName_;
    }

    public String ॱ() {
        return this.icon_;
    }

    public long ˎ() {
        return this.topicCount_;
    }

    public int ʻ() {
        return this.followCount_;
    }

    public void ˎ(int i) {
        this.followCount_ = i;
    }

    public String ॱॱ() {
        return this.detailId_;
    }

    public boolean ʽ() {
        return 1 == this.follow_;
    }

    public int ᐝ() {
        return this.follow_;
    }

    public void ˊ(int i) {
        this.follow_ = i;
    }

    public String ʼ() {
        return this.iconColor_;
    }

    public void ˏ(int i) {
        if (this.follow_ != i) {
            if (i == 0) {
                this.followCount_--;
            } else if (i == 1) {
                this.followCount_++;
            }
            this.follow_ = i;
        }
    }
}
